public class SPCParamValueList
extends java.lang.Object
| Constructor and Description |
|---|
SPCParamValueList()
Create an instance of the SPCParamValueList class.
|
SPCParamValueList(SPCParamValue item)
Create an instance of the SPCParamValueList class.
|
SPCParamValueList(SPCParamValue[] items)
Create an instance of the SPCParamValueList class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(SPCParamValue item)
Add parameter information to the SPCParamValueList instance.
|
boolean |
add(SPCParamValue[] items)
Add all the information for the SPCParamValueList instance.
|
SPCParamValue |
get(int index)
Returns the parameter information of the barcode module.
|
SPCParamValue |
getAt(SPCParamName name)
Returns the parameter information of the barcode module.
|
java.lang.String |
getCommand(int engine)
Returns the parameters of the SPCParamValueList.
|
int |
getCount()
Returns the type of parameter stored in the SPCParamValueList instance and the number of pieces of information in the value pair.
|
java.lang.Object |
getValue(int index)
Returns the parameter value of the SPCParamValueList.
|
java.lang.Object |
getValueAt(SPCParamName name)
Returns the parameter value of the SPCParamValueList.
|
static SPCParamValueList |
parseParams(java.lang.String data,
int engine)
Returns the parameter name and value of the barcode module.
|
public SPCParamValueList()
public SPCParamValueList(SPCParamValue item)
public SPCParamValueList(SPCParamValue[] items)
public int getCount()
public boolean add(SPCParamValue item)
item - SPCParamValue represent the parameter type and value.public boolean add(SPCParamValue[] items)
items - An instance of SPCParamValueList with added parameter informations.public SPCParamValue getAt(SPCParamName name) throws ATException
name - An identifier representing the name of the information in the SPCParamValueList.ATException - An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public SPCParamValue get(int index) throws ATException
index - An identifier representing the location of the information in the SPCParamValueList.ATException - An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public java.lang.Object getValueAt(SPCParamName name) throws ATException
name - An identifier representing the name of the information in the SPCParamValueList.ATException - An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public java.lang.Object getValue(int index)
throws ATException
index - An identifier representing the location of the information in the SPCParamValueList.ATException - An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public java.lang.String getCommand(int engine)
throws ATException
engine - An identifier representing the type of the barcode module.ATException - An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.public static SPCParamValueList parseParams(java.lang.String data, int engine) throws ATException
data - An identifier representing the parameter name and value of the barcode module.engine - An identifier representing the type of the barcode module.ATException - An ATException exception is thrown if a failure occurs while setting data on the instrument or returning data.